import {createRouter,createWebHistory,RouteRecordRaw} from 'vue-router'

const routes:Array<RouteRecordRaw>=[
    {
        path:'/',
        component:()=>import('../components/HelloWorld.vue')
    },
    {
        path:'/addInfo',
        component:()=>import('../view/MemberInfo/addInfo.vue')
    },
    {
        path:'/showInfo',
        component:()=>import('../view/MemberInfo/showInfo.vue')
    },
    {
        path:'/backInfo',
        component:()=>import('../view/MemberInfo/backInfo.vue')
    },
    {
        path:'/changePrice',
        component:()=>import('../view/MemberInfo/changePrice.vue')
    },
    {
        path:'/changeScore',
        component:()=>import('../view/MemberInfo/changeScore.vue')
    },
    {
        path:'/addRank',
        component:()=>import('../view/MemberRank/addRank.vue')
    },
    {
        path:'/showRank',
        component:()=>import('../view/MemberRank/showRank.vue')
    },
    {
        path:'/addRankRight',
        component:()=>import('../view/MemberRank/addRankRight.vue')
    },
    {
        path:'/showRankRight',
        component:()=>import('../view/MemberRank/showRankRight.vue')
    },
    {
        path:'/addRight',
        component:()=>import('../view/MemberRight/addRight.vue')
    },
    {
        path:'/showRight',
        component:()=>import('../view/MemberRight/showRight.vue')
    },
    {
        path:'/editRight',
        component:()=>import('../view/MemberRight/editRight.vue')
    }
    
]

const router=createRouter({
    history:createWebHistory(),
    routes
})

export default router